package com.apexsoft.margin.account.management.domain.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 融券锁券Excel domain
 */
@TableName("T_SECURITIES")
public class FirstChainDataDomain {
    /**
     *   ID NUMBER(11) NOT NULL,
     *   RESULT_CODE VARCHAR2(255),
     *   EXIST VARCHAR2(255),
     *   RESULT_NOTE VARCHAR2(255),
     *   FILE_CODE VARCHAR2(255),
     *
     *   VIPFLAG VARCHAR2(10),
     *   ORGID VARCHAR2(4),
     *   CUSTID VARCHAR2(16),
     *   FUNDID VARCHAR2(16),
     *   MARKET VARCHAR2(10),
     *   STKCODE VARCHAR2(8),
     *   SECUID VARCHAR2(12),
     *   RESERVEQTY NUMBER(20,2),
     *   LOCKTYPE VARCHAR2(1),
     *   USEDFEERATE NUMBER(12,8),
     *   UNUSEDFEERATE NUMBER(12,8),
     *   VIOLATEFEERATE NUMBER(12,8),
     *   CLOSEDATE NUMBER(8),
     */

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ExcelProperty("处理")
    @TableField("result_code")
    private Integer resultCode; // 1: true ; 0:false

    @ExcelProperty("存在与否")
    private Integer exist; // 1:true ; 0:false

    @TableField("result_note")
    private String resultNote;

    @TableField("file_code")
    private String fileCode;

    @ExcelProperty("VIP标识")
    private String vipFlag ; //VIP标识，暂时没有确定这个变量名是什么。
    @ExcelProperty("机构编码")
    private String orgid ; //机构编码  C4
    @ExcelProperty("客户代码")
    private String custid ; // 客户代码  C16
    @ExcelProperty("资金账号")
    private String fundid ; // 资金账号   C16
    @ExcelProperty("市场代码")
    private String market ; // 市场代码  C1
    @ExcelProperty("证券代码")
    private String stkcode ; // 证券代码  C8
    @ExcelProperty("证券账户")
    private String secuid ; //  证券账户 -》 证券帐号   C12
    @ExcelProperty("预约数量")
    private Double reserveqty ; // 预约数量 -》 待分配数量  N20(2)
    @ExcelProperty("收费模式")
    private String locktype ; //  收费模式  C1
    @ExcelProperty("融券费率")
    private Double usedfeerate ; //  融券费率  N12(8)
    @ExcelProperty("约券管理费率")
    private Double unusedfeerate ; //  约券管理费率  N12(8)
    @ExcelProperty("违约费率")
    private Double violatefeerate ; //  违约费率   N12(8)
    @ExcelProperty("失效日期")
    private Integer closedate ; //  失效日期  -》 截止日期  N8


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public Integer getExist() {
        return exist;
    }

    public void setExist(Integer exist) {
        this.exist = exist;
    }

    public String getResultNote() {
        return resultNote;
    }

    public void setResultNote(String resultNote) {
        this.resultNote = resultNote;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getVipFlag() {
        return vipFlag;
    }

    public void setVipFlag(String vipFlag) {
        this.vipFlag = vipFlag;
    }

    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }

    public String getCustid() {
        return custid;
    }

    public void setCustid(String custid) {
        this.custid = custid;
    }

    public String getFundid() {
        return fundid;
    }

    public void setFundid(String fundid) {
        this.fundid = fundid;
    }

    public String getMarket() {
        return market;
    }

    public void setMarket(String market) {
        this.market = market;
    }

    public String getStkcode() {
        return stkcode;
    }

    public void setStkcode(String stkcode) {
        this.stkcode = stkcode;
    }

    public String getSecuid() {
        return secuid;
    }

    public void setSecuid(String secuid) {
        this.secuid = secuid;
    }

    public Double getReserveqty() {
        return reserveqty;
    }

    public void setReserveqty(Double reserveqty) {
        this.reserveqty = reserveqty;
    }

    public String getLocktype() {
        return locktype;
    }

    public void setLocktype(String locktype) {
        this.locktype = locktype;
    }

    public Double getUsedfeerate() {
        return usedfeerate;
    }

    public void setUsedfeerate(Double usedfeerate) {
        this.usedfeerate = usedfeerate;
    }

    public Double getUnusedfeerate() {
        return unusedfeerate;
    }

    public void setUnusedfeerate(Double unusedfeerate) {
        this.unusedfeerate = unusedfeerate;
    }

    public Double getViolatefeerate() {
        return violatefeerate;
    }

    public void setViolatefeerate(Double violatefeerate) {
        this.violatefeerate = violatefeerate;
    }

    public Integer getClosedate() {
        return closedate;
    }

    public void setClosedate(Integer closedate) {
        this.closedate = closedate;
    }
}
